Include extra files in the build

Include extra files in the build

Sometimes it is useful to include extra files in the compiled rulebase zip file, either because they need to be there or because it is convenient to do so because they directly relate to the compiled rules. Some examples are:

 

Detailed information about these and other files that can be packaged in the compiled rulebase zip file is available in the Oracle Policy Automation Developer's Guide.

Files such as these are automatically added to the compiled rulebase zip file if they appear in \include folder of the project. This is not created by default in a new project but can be easily created.

To include extra files in the rulebase zip file:

  1. Use Windows Explorer to navigate to the folder containing a rulebase project.
  2. Create a new folder called "include".
  3. Copy any files or folders to be included into the include folder.

 

Folders copied into the include folder will retain their structure inside the zip file. Hidden files or folders (such as those created by source control tools like Subversion) are not included.